package com.hang.gymmanager.common;


/**
 * 相应枚举类
 */

public enum ResponseEnum {

    SUCCESS("200", "成功"),
    SERVER_INNER_ERROR("500", "服务器内部异常"),
    OPERATION_FAILED("501", "操作数据库失败"),
    FIND_USER_FAILED("502", "查询用户失败");

    private String code;
    private String message;

    ResponseEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
